package ast;

public class VariableDefinition implements Definition {

	Variable variable;
	private Expression expression;

	public VariableDefinition(Variable variable, Expression expression) {
		this.variable = variable;
		this.expression = expression;
	}

	public Variable getVariable() {
		return variable;
	}

	public Expression getExpression() {
		return expression;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitVariableDefinition(this);
	}

}
